package db;

import java.util.ArrayList;

/**
 * Organization is used in the global organizations list and in the country
 * specific organization list.
 * 
 * @author markus
 * 
 */
public class Organization{

	private String name; // write + read
	private ArrayList<String> altName = new ArrayList<String>(); // write + read

	/**
	 * Constructor needs organization name.
	 * 
	 * @param name
	 */
	public Organization(String name) {
		this.name = name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the altName
	 */
	public ArrayList<String> getAltName() {
		return altName;
	}

	/**
	 * Add a new alternative name to the String array.
	 * 
	 * @param name
	 *            String
	 */
	public void addAltName(String name) {
		altName.add(name);
	}
}
